package com.dingtalk.demo.biz.dao;


import com.dingtalk.demo.biz.dao.model.UserDO;
import com.dingtalk.demo.biz.query.BaseQuery;


import java.util.List;

public interface UserDAO {

    Long insert(UserDO userDO);

    UserDO selectById(Long userId);

    boolean delById(Long userId);

    List<UserDO> selectByIds(List idsList);

    List<UserDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(UserDO userDO);

    List<UserDO> selectByEmail(String email);

}


